package cn.csc.module.shop.controller.admin.detail.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.math.BigInteger;
import java.time.LocalDateTime;

@ApiModel("管理后台 - 店铺详情 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ShopDetailRespVO extends ShopDetailBaseVO {

    @ApiModelProperty(value = "店铺id", required = true)
    private BigInteger id;

    /**
     * 店铺状态(-1:已删除 0: 停业中 1:营业中)
     */
    @ApiModelProperty(value = "店铺状态(-1:已删除 0: 停业中 1:营业中)", required = true)
    @NotNull(message = "店铺状态(-1:已删除 0: 停业中 1:营业中)不能为空")
    private Byte shopStatus;

    /**
     * 店铺类型,1自营店 2普通店 3华商贸店铺 5采购商 10供货商 15采购商+供应商 20 选品卖家 30 供货商+卖家
     */
    @ApiModelProperty(value = "店铺类型,1自营店 2普通店 3华商贸店铺 5采购商 10供货商 15采购商+供应商 20 选品卖家 30 供货商+卖家", required = true)
    private Integer type;

    @ApiModelProperty(value = "创建时间", required = true)
    private LocalDateTime createTime;

}
